home *** CD-ROM | disk | FTP | other *** search
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ [CLCB] Custom Last Caller Bulletin PPE [CLCB] │
- └─────────────────────────────────────────────────────────────────────────────┘
- Custom Last Caller Bulletin PPE (c) 1994 by Midnight Slasher
- Version: 1.10 Standard / Freeware
- - 05/25/94 -
- ───────────────────────────────────────────────────────────────────────────────
- ───────────────────────────────────────────────────────────────────────────────
- <mslasher@io.org>
-
- ───────────────────────────────────────────────────────────────────────────────
- [ FILES INCLUDED ] ····························································
- ───────────────────────────────────────────────────────────────────────────────
- CLCB.BOT ····· The Last Caller Bulletin Display Footer File
- CLCB.DAT ····· The Last Caller Bulletin Configuration File
- CLCB.DOC ····· The Documentation and Installation Guide
- CLCB.EXC ····· The Exclusion Name List
- CLCB.HST ····· The History/Whats.New File
- CLCB.PPE ····· The Last Caller Bulletin PPE
- CLCB.TOP ····· The Last Caller Bulletin Display Header File
- CLCB.TOT ····· The Last Caller Bulletin 'Totals' File
- FILE_ID.DIZ ·· Description Identification File
- ───────────────────────────────────────────────────────────────────────────────
-
- ───────────────────────────────────────────────────────────────────────────────
- [ PROGRAM SUMMARY ] ···························································
- ───────────────────────────────────────────────────────────────────────────────
- These PPEs (*PCBoard Programming Language Executables*) generate and
- display a fully sysop configurable last X callers bulletin. There are many
- last caller PPEs available; but I have not seen one that is quite as
- configurable as this one. Header and Footer files are totally configurable
- as well as the actual setup of the last caller display lines via a config
- file that uses replacement type codes. (Somewhat like PCBOARD @???@ macros)
- It also has the ability to create and display a configurable summary of
- today's and yesterday's activity (Total Messages Posted/Files U/L etc).
- ───────────────────────────────────────────────────────────────────────────────
-
- ───────────────────────────────────────────────────────────────────────────────
- [ INSTALLATION ] ······························································
- ───────────────────────────────────────────────────────────────────────────────
-
- This PPE REQUIREs that the PCBSTAT PCBoard Supported Allocation (PSA) be
- installed in your user file. To do this:
-
- 1. Run PCBSM
- 2. Press D
- 3. Press C
- 4. Press E
- 5. Press Y to add the PCBSTAT PSA ...
-
- The generator will not function without the PCBSTAT PSA present.
-
- ───────────────────────────────────────────────────────────────────────────────
-
- 1. Copy all CLCB*.* files to the same directory.
-
- 2. Load your PCBTEXT file(s) into MKPCBTXT.EXE
- 3. Press F3 and replace prompt #192
-
- Replace the prompt with: !DRIVE:\PATH\CLCB.PPE /192
- eg: !C:\PCB\PPE\CLCB.PPE /192
-
- 4. Exit and Save the PCBTEXT file.
-
- 5. Place the line: !DRIVE:\PATH\CLCB.PPE
- eg: !C:\PCB\PPE\CLCB.PPE
-
- somewhere in your logon procedure. You could add this line somewhere
- to your NEWS file, main conference INTRO file, or attached to some other
- PPE. *It MUST BE RUN every time a user logs on.* It displays the last
- few callers bulletin, but it also creates a temporary file to store
- the initial stats of a user. If it is not run, the bulletin will not
- be updated with that caller's information.
-
- If you are unsure of how to make PCBoard show a file only once; here
- is one way to do it. Run PCBSETUP, press G, press D, and enter "Y"
- on the "Display NEWS file only if changed" prompt. Then set the file
- date on your NEWS file to a date far in the future (12-12-99). Edit
- your NEWS file, and on a blank line, insert the !DRIVE:\PATH\CLCB.PPE .
-
- I realize that some people may wish to setup a 'TurboLogin' feature that
- will skip to the main menu without forcing the user to view the last
- few callers bulletin. If you have a setup such as this; you still
- must run the CLCB.PPE every time a user logs on; but you can use the
- /NOSHOW parameter to only have it create the temporary data file and
- not display anything to the user. ie: !C:\PCB\PPE\CLCB.PPE /NOSHOW
-
- Example: If you do have a TurboLogin feature, just make sure you run
- CLCB.PPE /NOSHOW before the TurboLogin. You can run CLCB.PPE without
- the /NOSHOW parameter in your login sequence later on (you can run it
- as many times as you want per call) since it will not overwrite the
- temporary data file once it has been created for the caller!
-
- ───────────────────────────────────────────────────────────────────────────────
-
-
- ───────────────────────────────────────────────────────────────────────────────
- [ PROGRAM INFORMATION ] ·······················································
- ───────────────────────────────────────────────────────────────────────────────
-
- Once setup; the PPEs are doing the following:
-
- Every time a user logs on; you should somehow have the CLCB.PPE run. This
- PPE will display the CLCB.TOP file (the header file for the bulletin), the
- CLCB.BLT file (the main bulletin that contains the information of the last
- X callers) and then the CLCB.BOT file (the footer file for the bulletin).
-
- CLCB.TOP = The Header File. You can also use this file to run any PPEs or
- display any files BEFORE the last caller's bulletin. You do
- this by putting a line such as:
-
- %C:\PCB\DISPLAY\LOGON.TXT or
- !C:\PCB\PPE\LOGON.PPE
-
- on any blank line in the CLCB.TOP file. These should come before
- the graphics of the header for your bulletin.
-
-
- CLCB.BOT = The Footer File. Just like the CLCB.TOP file, you can run PPEs
- or display other files after the last caller bulletin with this
- file. (Delete it if you don't want a Footer File, deletion works
- with the header file too)
-
-
- CLCB.EXC = The Exclusion List. If you do not want certain user names to be
- listed in the Last Callers Bulletin, simply add their names (one
- to a line) in this file.
-
-
- CLCB.TOT = The optional file outlay for CLCB.BL2. This file can use the
- following replacement codes to sum up today's and yesterday's
- total board usage:
-
- %TMPT - Total Messages Posted Today (Not Padded or Justified)
- %TMPY - Total Messages Posted Yesterday "
-
- %TFUT - Total Files Uploaded Today "
- %TFUY - Total Files Uploaded Yesterday "
-
- %TFDT - Total Files Downloaded Today "
- %TFDY - Total Files Downloaded Yesterday "
-
- %TKUT - Total Kilobytes Uploaded Today "
- %TKUY - Total Kilobytes Uploaded Yesterday "
-
- %TKDT - Total Kilobytes Downloaded Today "
- %TKDY - Total Kilobytes Downloaded Yesterday "
-
- CLCB.TOT is the file read into the generator so you can
- customize how you want the output to look. CLCB.BL2 is the
- file that is output with all the variables converted to their
- appropriate totals. You can then place CLCB.BL2 (example:
- %C:\PCB\PPE\CLCB\CLCB.BL2) somewhere in your .TOP, or .BOT
- or wherever you want to show the totals for today or
- yesterday's activity.
- ───────────────────────────────────────────────────────────────────────────────
-
- CLCB.PPE /192 = This is the PPE Generator mode. It is run as a replacement for
- prompt 192 in your PCBTEXT file. (It runs when a user logs
- off the board). It will look for CLCB.DAT in the same
- directory that it resides for configuration information.
-
- ───────────────────────────────────────────────────────────────────────────────
- CLCB.DAT = The Configuration File.
-
-
- Line 1: Can be: A one line text message (eg: the original prompt 192)
- or: A file to be displayed (eg: %C:\PCB\DISPLAY\GOODBYE.TXT)
- or: A PPE to be run (eg: !C:\PCB\PPE\LOGOFF.PPE)
-
-
- Since CLCB_192.PPE replaces PCBTEXT entry #192, this line allows you
- to keep whatever text, PPE or display file that you replaced in the
- PCBTEXT file.
-
- Line 2: The number of callers to display in the bulletin. Must be a number
- less than or equal to 25. (I doubt you need more, but if you do,
- let me know)
-
- If you wish to list the last 10 callers, place a "10" on this line
- (without the quotes). The last caller is placed on the top line
- (line 1 of the CLCB.BLT file) and the rest are rotated downwards,
- killing the 11th entry in this case.
-
- Line 3: The background color for and character for %FUNCTS (must be one color
- code and one character) Leave this line alone if you do not use the
- %FUNCTS variable.
-
- If you use the %FUNCTS replacement code in line 5 of this file, this
- line specifies the background color and character. These are the filler
- characters used if a function is not filled in for that specific
- user. (ie: If the user did not Download, a "-" might be displayed
- instead of a "D" in the %FUNCTS macro.)
-
- Line 4: The foreground color of any entry in %FUNCTS:
- ie: --RW--- (the color for R and W)
- Leave this line alone if you do not use the %FUNCTS variable.
-
- Line 5: The fully colorized (use PCBoard Codes Only) standard line with CLCB
- replacement codes.
-
- This is where you colorize and configure what you want shown in the
- last caller bulletin. Replacement Codes begin with a "%" and are
- all listed below. Think of replacement codes as PCboard Macros.
- As an example: %BAUD will automatically be replaced by the caller's
- connection speed when the bulletin is generated.
-
- This is the best way I could think of to maximize configurability.
- Replacement codes are exactly the same length as the information
- will be once filled in. IE: %MO will be filled in with the
- minutes online the user used. It will be automatically right
- justified and filled to 3 characters.
-
- This line can not exceed 79 uncolorized characters. This means that
- if you removed all the @X?? codes, it could not exceed 79 characters
- in your text editor.
-
- Line 6: [NOT USED] - an uncolorized line to help you see what it will look
- like, and make sure it fits within 79 characters.
- ------------------------------------------------------------------------------
-
- REPLACEMENT CODES RJ = Right Justified
- -----------------
-
- %MIX_USER_FULL_NAME_FIELD = User's Name in Mixed Characters (Fills 25 Chrs)
- %CAP_USER_FULL_NAME_FIELD = User's Name in CAPITAL LETTERS (Fills 25 Chrs)
-
- %MIX_USERCITYSTATE_FIELD = User's City/State in Mixed Chrs (Fills 24 Chrs)
- %CAP_USERCITYSTATE_FIELD = User's City/State in CAPITALS (Fills 24 Chrs)
-
- %BAUD = Connection Speed of Modem RJ (Fills 5 Chrs)
-
- %MO = Minutes Used this Session RJ (Fills 3 Chrs)
-
- %ON24 = Logon Time in 24hour Format (Fills 5 Chrs)
- %OF24 = Logoff Time in 24hour Format (Fills 5 Chrs)
-
- %LOGN_AP = Logon Time in 12hour A/PM Format (Fills 8 Chrs)
- %LOGF_AP = Logoff Time in 12hour A/P Format (Fills 8 Chrs)
-
- %KBUP = Kbytes Uploaded this Session RJ (Fills 5 Chrs)
- %KBDN = Kbytes D/loaded this Session RJ (Fills 5 Chrs)
-
- %SL = Security Level of User RJ (Fills 3 Chrs)
-
- %N = Node Number RJ (Fills 2 Chrs)
-
- %U = Files Uploaded this Session RJ (Fills 2 Chrs)
-
- %D = Files Downloaded this Session RJ (Fills 2 Chrs)
-
- %M = Messages Posted this Session RJ (Fills 2 Chrs)
-
- %FUNCTS = Functions Used this Session (Fills 7 Chrs)
- U = Uploaded
- D = Downloaded
- W = Posted A Message (Write)
- R = Read Messages (Read)
- N = Node Chat
- P = Paged Sysop
- H = Hung Up
-
- ───────────────────────────────────────────────────────────────────────────────
- [ USAGE ] ·····································································
- ───────────────────────────────────────────────────────────────────────────────
- I've tried to make this as easy to use as possible, and as configurable as
- possible. I'm confident that if you look through the contained files, you
- will be able to figure out how to set it up without any problems. It is
- in no way crippled, nor is a program name displayed anywhere to the user.
- Log entries (in your caller log) are made when it is run; I put those in
- so you could easily see the version number that is currently installed.
-
- Main points to remember: CLCB.PPE must be run during the login process of
- all users.
-
- PCBTEXT Entry #192 must be replaced with the
- CLCB.PPE /192
-
- The PCBSTAT PSA must be installed.
-
-
- o More to come...
-
- ───────────────────────────────────────────────────────────────────────────────
- How to contact the author: Yell real loud, perhaps I'll hear you ...
- or: mslasher@io.org
- ───────────────────────────────────────────────────────────────────────────────
- [EOF] ················································· [MS] / Midnight Slasher
- ───────────────────────────────────────────────────────────────────────────────
-